import {LoginBo, LoginVo} from "@/dto/Login/Login.ts";
import axiosRequest from "@/config/axios.ts";
import Result from "@/common/Result.ts";

export class LoginApi{

    public async webLogin(loginBo?:LoginBo){
        return axiosRequest.post<LoginBo,Result<LoginVo>>("/login/web_login",loginBo)
    }
}